package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.qo.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void save(Department record);

    void delete(Long id);

    void update(Department record);

    Department get(Long id);

    List<Department> listAll();

    /*int selectForCount(QueryObject qo);*/

    List<Department> selectForList(QueryObject qo);


}